package com.example.my.shop.mybatis.service;

import com.example.my.shop.mybatis.entity.TbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TbUserService {

    TbUser selectEmailAndPassWord(String email);

    List<TbUser> findAll();

    boolean addUser(TbUser tbUser);

    int deleteById(Long id);

    int updateTbUer(TbUser tbUser);

    TbUser findById(Long id);

    int batchDelete(String[] ids);

    List<TbUser> likeSearch(Map map);
}
